package ontowebapp.trimstring.ui.lib;

import ontocompo.ui.api.html.HtmlContainerItf;

import org.objectweb.fractal.fraclet.annotations.Component;
import org.objectweb.fractal.fraclet.annotations.Interface;
import org.objectweb.fractal.fraclet.annotations.Requires;

@Component(provides = {@Interface(name = "htmlContainerItf", signature = ontocompo.ui.api.html.HtmlContainerItf.class), @Interface(name = "ontocompoIntrospectionItf", signature = ontocompo.api.IntrospectionItf.class), @Interface(name = "htmlEntryPoint", signature = ontocompo.ui.api.html.HtmlElementItf.class)})
public class IndexScreenContainer extends ontocompo.ui.lib.html.HtmlContainer implements HtmlContainerItf {

	@Requires(name = "inputsContainer_html")
	private ontocompo.ui.api.html.HtmlContainerItf inputsContainer_html;
	
	@Requires(name = "trimButton_html")
	private ontocompo.ui.api.html.HtmlButtonItf trimButton_html;
	
	@Requires(name = "trimedStringResult_html")
	private ontocompo.ui.api.html.HtmlLabelItf trimedStringResult_html;
	
	public IndexScreenContainer() {
		this.uid = "ontowebapp.trimstring.ui.lib.IndexScreenContainer";
		this.htmlId = "trimIndexScreenContainer";
	}
	
	@Override
	public void init() {
		this.inputsContainer_html.init();
		this.trimButton_html.init();
		this.trimedStringResult_html.init();
		
		this.addUIElement(this.inputsContainer_html.getUIElementItSelf());
		this.addUIElement(this.trimButton_html.getUIElementItSelf());
		this.addUIElement(this.trimedStringResult_html.getUIElementItSelf());
	}
}